package com.czy.seed.mvc.home.entity;

import com.czy.seed.mvc.base.entity.IPrepare;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "ESTIMATE")
public class Estimate implements IPrepare {

    private static final long serialVersionUID = 8062238991500027272L;
    @Id
    private long id;

    private long orderId;

    private long userId;

    private Double goodScore;

    private Double serviceScore;

    private String content;

    private String userName;

    private Date createTime;

    private long commodityId;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public Double getGoodScore() {
        return goodScore;
    }

    public void setGoodScore(Double goodScore) {
        this.goodScore = goodScore;
    }

    public Double getServiceScore() {
        return serviceScore;
    }

    public void setServiceScore(Double serviceScore) {
        this.serviceScore = serviceScore;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public long getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(long commodityId) {
        this.commodityId = commodityId;
    }
}
